// index.js
var common = require('../../utils/util.js')
var newsList = common.getNewsList();
// 页面入口函数
Page({
  data: {
    swiperImages: [
      { src: 'http://img10.banyuetan.org/group1/M00/03/7C/CpAAPmc_2NqAL09vAAIZsXGLDGo317.jpg' },
      { src: 'http://img2.banyuetan.org/group1/M00/03/7C/CpAAPmc_1k2AJakyAAQS3Eg6hLw87.jpeg' },
      { src: 'http://img7.banyuetan.org/group1/M00/03/7B/CpAAPmc-gaiAWummAAN1pTwbXR4637.jpg' },
      { src: 'http://img5.banyuetan.org/group1/M00/03/7B/CpAAP2c_1xiAHIp5AAGrTt3kJrg958.jpg' },
      { src: 'http://img3.banyuetan.org/group1/M00/03/52/CpAAPmaojpCAfAvMAAX5NziyPM4492.jpg' }, 
    ],
    newsList: newsList
  },
  test() {
    console.log(newsList)
  }
})
